package com.study.reflect.demo.base;

/**
* @Name: Person
* @Description: Person测试类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-1-17 下午4:22:52 
* @Version: V1.0
 */
public class Person {
	
	private String name ;
	int age ;
	public String address ;
	
	public Person() {
	}
	
	private Person(String name) {
		this.name = name ;
	}

	Person(String name, int age) {
		this.name = name;
		this.age = age;
	}

	public Person(String name, int age, String address) {
		this.name = name;
		this.age = age;
		this.address = address;
	}
	
	public void show() {
		System.out.println("show");
	}
	
	public void method(String s) {
		System.out.println("method-" + s);
	}
	
	public String getString(String s, int i) {
		return s + "---" + i ;
	}
	
	private void function() {
		System.out.println("function");
	}

	@Override
	public String toString() {
		return "Person [name=" + name + ", age=" + age + ", address=" + address
				+ "]";
	}
	
}
